<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript">
  /**
   * 展开数组
   */
  let tfboys = ['德玛西亚之力','德玛西亚之翼','德玛西亚皇子'];
  function fn(){
    console.log(arguments);
  }
  fn(...tfboys)
  /**
   * 展开对象
   */
  let skillOne = {
    q: '致命打击',
  };
  let skillTwo = {
    w: '勇气'
  };
  let skillThree = {
    e: '审判'
  };
  let skillFour = {
    r: '德玛西亚正义'
  };
  let gailun = {...skillOne, ...skillTwo,...skillThree,...skillFour};
  console.log(gailun);
  /*{q: '致命打击', w: '勇气', e: '审判', r: '德玛西亚正义'}
    e: "审判"
    q: "致命打击"
    r: "德玛西亚正义"
    w: "勇气"
    [[Prototype]]: Object
  * */
</script>
</html>